There are already keys bound that have the same inputs as the left and right mouse buttons. The default keys are z and x, but you can change them to whatever you want. Do remember that osu! is meant to be played with 2 keys, which means that you can't click mb1 and kb1 at the same time