The best thing to do is contact a herp vet, somebody familiar with lizards.
It may be possible for the vet to get the eggs out without surgery but giving the fact your dragon is skinny, lathargic etc, it may be too late to do anything, sounds like she may be too weak to withstand surgery if other methods to get her to pass the eggs don't work.
It really depends on why the eggs didn't get laid. If they are lodged or tangled in the oviduct, there is no other way to get them out other than surgery. Sometimes (at least with snakes) it may be possible to puncture the stuck egg, suck out the contents and let the empty shell pass with the next bowel movement.
What should have happened, withing 2-5 days after she laid her infertile clutch and you saw she had eggs still inside of her, was when you should have rushed her to the hospital. After two months, those eggs are most likely rotten and may have caused severe health problems. Going to a vet is your only chance to ensure your dragon will have a chance to survive in my opinion.
-----
PHLdyPayne