Answer:
One choice would be a midi controller and software: midi controllers, make sure you find one thats in your budget, and that it comes with software called a DAW. Lots of electronic producers use a daw called ableton live, and there's a lot of helpful resources online about it.
Step-by-step explanation:
I know nothing about the subject but I found a discusion of it on reddit also Aphex Twin has uploaded a video showing how his track 'Vordhosbn' was made using now discontinued tracking software PlayerPro.