A and D to move left and right, respectively. W and S to move the main link up and down. Left Arrow and Right Arrow to move the secondary link up and down. Up Arrow and Down Arrow to move bucket up and down.
Thanks to bobbywu for help with coding. Comment below on ideas for improvement and remix if you want to.