You could use viz.TOGGLE so that each time you press the key the timer will change states and your function will either start or stop being called
Code:
def funcA():
timer1.setEnabled(viz.TOGGLE)
vizact.onkeydown('a',funcA)
def funcB():
timer2.setEnabled(viz.TOGGLE)
vizact.onkeydown('b',funcB)