Before selecting among institutes, you should decide which branch to opt for. As per the question asked, you must have an interest in both EE and CSE at the two specified institutes.
The points followed will give certain guidelines, based on which you can come to a conclusion.
Considering the above points, it can be deduced that EE at NIT Hamirpur is a better option, having a better college reputation and good campus life.