can we press button using the same keyboard ?

sampe to press button1 it use A, button2 use a