You need to do something along the lines of listening for a KeyDown/KeyPressDown event, and in the method that handles the event, if it's the 'g' or 'h' key. Also, keep a System.Collections.Stack of the added picture boxes.
do
PictureBox pokerImg = new PictureBox();
pokerImg.Size = ...