BMW part number: 616 742 908 68
You'll get 2 nozzles for $37
You can 'click' them out (I used a plier with a cloth to pull them out) and then you push them back into your washer (they 'click' in).
Probably the holder of your washer head (in which you'll click the nozzle) cracked and when you'll use your washer again this new nozzle will be gone again...
It's pvc so I used some pvc glue to glue them in place (just a bit of glue on 'the ball' then push the nozzle in and direct it downwards (because you cannot adjust the washer anymore after the glue has set)...
BMW E46 Headlight Washer Nozzle Squirter Jet Right RH Passenger Driver Lamp New | eBay