Explosion and gun fire were heard at UNDP office in Mogadishu, capital of Somalia on Wednesday, police witnesses say.