Whoa - that looks like an exciting journey to take !
Bengaluru (Karnataka) to Shimla (Himachal Pradesh) distance is 2015 km and you can get there by flight + cab in just over 9 hours and 21 minutes or by train + bus fares starting from ₹ 1753.
The heat there will make you sweat, but it's surely bearable.