Gunmen in the Somali capital , Mogadishu , have killed the head of the U.N. Development Program for Somalia .