Twenty people were killed and 51 others wounded on Wednesday in heavy clashes between Somali government forces backed by African Union (AU) peacekeeping troops and Islamist fighters over the control of key locations in Mogadishu, a medical official said.