It is difficult to determine which is better; Mechanical Engineering in IIT Hyderabad or Engineering Physics at IIT Roorkee without knowing what your expectations from the degree are and your personal preferences. Nevertheless, I am here to spill a few facts about EP at IIT Roorkee.
I would recommend you go for an easier branch that has less workload so that you can focus well on coding and get placed right after BTech in IIT.