This is so easy, you'll laugh.
First, pick up your pile of Gold from your inventory.
Second, drag it off to the side so you can drop it.
Third, hold down the CTL key when you let go of the mouse.
You will be asked how much you want to let go.