In a statement, Africom said the two were killed in an air strike targeting Al Shabaab militants in an operation conducted in coordination with the Federal Government of Somalia.
"This enemy has no regard for the lives of innocent Somalis and the group presents a threat to the Somali people, the US and interests abroad US Africa Command affords our partners over-watch and added precision capabilities.
US Africa Command affords our partners over-watch and added precision capabilities," said Col Christopher Karns, Africom's director of public affairs.
"US Africa command continues to work with its Somali partners to transfer the responsibility for long term security in Somalis to the Federal government of Somali and its member states," added the statement.
Fiver others were killed two days before in the vicinity of Bush Madina on April 3 and on April 2, another air strike killed three militants including high ranking Shabaab leader Yusuf Jiis who was described by Africom as one of the foundational members of the terror group.