I have a macbook so my layout might be different than yours.
arrow keys to move, option to strafe, control to shot and the numbers 1-9 to switch weapons. The spacebar is also used to open door or in quake 1 jump. In quake you also need look up and look down keys. In the classic dooms you can type in codes for things. Here are the 2 I remember :IDKFA --Full health, ammo, weapons, armor,keys and IDDQD - god mode . I've only played all the classic dooms and quake one. You might want a mouse for later quake games.