Water and a squeegee. The important bit is the squeegee
It's almost impossible to spray anything near the tank and not have some wind up inside. Especially in reef tanks that typically have an open top & fans to suck in moisture.
I've been doing the squeegee thing for years, no streaks, no chemicals no worry,
Plus, a simple bathroom squeegee is cheaper than a bottle of windex.