This is unfortunately a really massive topic with so many options and no real one way to do it from my understanding of what you are trying to do. I really only use Maya for modeling and tend to use another program for my rendering.
Just so I have a better idea of what you are doing, are you able to just take a screenshot from the viewport?
I imagine that you just have two spheres with a spot light to cast the shadows or something similar?
I might be able to mock up something based on what you are doing that COULD give you some direction but I can't be 100% just so you know haha