I’d watch this as an introduction / comparison to see how someone else handled 2D movement (I skimmed through it pretty quickly, seems like he gives enough previews of the code to get a good idea):
Then take a look here for a primer on getting started with EnhancedInput and C++:
For 2D movement you’ll only need to implement the left/right movement of your character and jumping.