Bangladesh batter Mominul Haque became only the second batter from his country to score a Test century in India.