Ok first thing is do you have spindle speed feedback to Mach? In other words does the RPM of the spindle display correctly in Mach?
If it does then what you would do is change to G95 just before you wanted to start the Z moving down.G95 is feed per rev so you would then command the Z to feed to the depth you want at the feed suitable for the tap.
Example, you would position the tap above the hole then your code would be something like this if the depth you wanted to tap was 10mm and you were using a M3 tap (M3 tap is 0.5mm pitch)
Position above the hole with the code (say 5mm above) then the code for the actual tapping would be
G95
G1Z-10F0.5
G1Z5
G94
Obviously your spindle would have to be running etc but that should be happening with your prior code.
Test cutting air for a while until you are sure it looks fine then test in some soft material. Once you have done it once or twice you wont have to worry

Hood