It is definitely possible to do your MTech in information technology from IIT after BTech in mechanical engineering for that you must clear the GATE entrance exam for IT with a good score in order to be admitted to an IIT.
Hope this is useful.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile