Turkish soldiers were killed in southeastern Turkey when a bomb exploded on the border with Syria, the Ankara Defence Ministry said.