The US has issued a travel warning for people heading to Mexico.