At least 30 people are dead after a mass shooting at a child care center in northeast Thailand, the country's Central Investigation Bureau said.