President Barack Obama says the United States will stand with France after the attack in Nice that killed more than 80 people.