Here's a sample    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("I'm button 1");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            bttnTwo();
        }

        public void bttnTwo()
        {
            MessageBox.Show("I'm button 2");
        }

        private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode==Keys.A)//2 differnt ways
            {
                button1.PerformClick();
            }
            else if (e.KeyCode == Keys.B)
            {
                bttnTwo();
            }
        }
             
    }

set form keypreview to true