Heavy rain battered parts of Karnataka's capital Bengaluru, causing flooding and traffic jams in several parts of the city.