The US president condemned a chemical attack in Syria, saying a major decision would follow in the next 24 hours.