How do I delete a file from my desktop using keyboard
command+delete works just fine. Highlight the file (single click or use your keyboard to select it), then hold command and without releasing it, push delete. This moves the file or folder to the trash.

Note that delete is in the same place as Backspace on a Windows keyboard.