Hello Guys

I am new to programming and the demands of my code are fairly simple I think.
But since I have close to zero experience, I don't know where to start.

I have one form with say 10 buttons.
Whenever the form loads, I want it to wait for a key on the keyboard to be presses.
Lets say any number 0-9

Depending on which number I pressed,
It simulates a click on the corresponding button.

So in short

1.Form loads
2.Detect key input
3.Execute button click depending on key input.

e.g. --> press button 1 if "1" is pressed..and so on..

Can someone please help me ?

Thanks in advance.