The US State Department has issued a worldwide travel warning after two US troops were killed in Jordan, urging Americans abroad to exercise increased caution amid rising threats linked to Iran.