On the two wire tach one is power (red/black wire to fuse #12) and the other get the signal from the tach amp (green/black).
See post #2 in this link:
Adding a tach to a 300TD
I used this info to install a tach from an 83 300D in my 84 euro wagon that has an rpm sensor but no tach or tach amp.