Protesters in the southern Indian city of Bangalore in Karnataka state have attacked shops and set fire to vehicles in a long-running dispute about water.