An Indian court convicted two dozen people on Thursday over a massacre during religious riots 14 years ago when Prime Minister Narendra Modi was chief minister of Gujarat state.