Gunmen open fired in a bar in central Mexico killing 10 people and injuring seven, a local official said.