Use WASD to move. Use the mouse to break and place blocks. Open inventory with E. Select tiles from the hotbar with the mouse. On mobile, use the touch controls.