W to walk forward A and D to turn camera Space to jump E to open/close inventory. Click nearby things to break them.
In full screen, scroll to move through the hotbar (or click the item you want, or press 1-9) Click while holding fences/torches to place them.