The two codes might or might not be related (ie. stalling because the engine is running too lean).
The engine speed sensor is bolted to engine block, to the right of the oil filter.
The second picture in this link shows what it looks like (from a 2.0L engine, but the 1.8T is the same).
http://forums.vwvortex.com/zerothread?id=2861411
A bad MAF can cause acceleration issues, you can try to drive with the MAF disconnected to see if the MAF is the cause of the lean code. The use of a scan tool with which you can monitor engine sensor output values would be a helpful aid in helping you track down what is wrong.
VSS, as in vehicle speed sensor, should not cause stalling or hard starting issues. IIRC