I haven't done anything with robotics, but I believe the languages you would be looking at are Python and C++.
Python is known as a great first language for beginners, and is very popular in pretty much all programming fields right now, so I'd start there.
There's tons are good free resources out there, I'll post a link to one at the bottom. My recommendation is to go far enough to get a bit comfortable with Python, and then dive into robotics, it sounds like the robotics part is what will drive your motivation.
So do some research to find out a good Python robotics stack for beginners, and then purchase what you need after you at least get some Python experience.
And btw, I like to use Visual Studio Code with Python, Microsoft has a good document for how to set it up. I originally learned Python without using any IDE-like capabilities... but my opinion now is you might as well use IDE from the start.
https://docs.python-guide.org/