The State Department has warned Americans not to travel to 23 countries amid war, terrorism, crime and unrest risks.