Need help for my Sketch

Also writing Keyboard.press ("2"); on the PC always displays 1

Seeing is believing!

How to edit the sketch?

Thanks