I use Camtasia 2018 running on Windows 10. It includes a screen recorder and video editor. The program runs about $299 unless you find it on sale. I would definitely recommend a 30-day trial.
To demonstrate coding, you would primarily be recording your screen (screencasting). You may also want to use PowerPoint slides to display coding theory and would record them via screencasts as well.
Students apparently like to see their instructor, so videoing yourself with a camera (I use my Surface Pro 4 tablet) would be good. You can incorporate these "talking head" videos into your course using the Camtasia editor.
That's the fundamentals. Hopefully others will post links to other posts on the subject and recommend additional software and hardward options.