I don't class myself as good or a producer but you don't have to spend anything, all you really need is a main program (FL Studio, Reason Cubase, Logic ect) and samples/VSTs, you can download them, go the freeware route or if you really want purchase legit versions.
Once you get the basics you can purchase a midi keyboard, the above is all I used to make music even though I owned a keyboard (didn't have enough space to set it up), I had that "set up" until last week when I purchased an audio interface and studio monitors.
Also spending money won't make you a good producer, only practice will.
Practice, practice practice!