When you rub the balloon against your hair, the balloon becomes negatively charged. When a negatively charged balloon comes closer to the water stream, the likely charged ions move away and remain positively charged ions. These positively charged ions are more likely to negatively charged balloon and starts bending the water.