The US embassy in Somalia has warned of possible terror attacks in the country, especially in the capital city of Mogadishu.