The migrants were kidnapped while traveling by bus through a northeastern Mexican state where criminal gangs operate, authorities said.