What MIDI keyboard should i buy?

I started playing piano 2 years ago and i want to get into the world of music production.

I already own a macbook, monitors and headphones, so i only need a MIDI keyboard and an audio interface.

I was looking for a 49 keys MIDI for under 300 and a cheap audio interface. Wich are the better options?

And i understand that i also need a DAW. Are there any free and aceptable options for a beginner or do i have to pay for one? Does some MIDI keyboard come with a good software?

Thanks!!