Officials in Djibouti say two of their soldiers were killed and at least 21 others wounded in a battle with Eritrean forces on their disputed border .