It is definitely possible to go to a local pub in Bangalore. Most of the bars in the city ask for your ID. Therefore, make sure that you carry one with you. For foreign travelers, you should keep your passport handy as well.