The carbon in the goat methane comes from the grass, which took that carbon out of the air a few months back. Net effect, nil.
I hate it when people get anxious about cow farts contributing to global warming.
But the thoughts about the transportation of the goats are worth exploring.
However, if you want to go that route you also have to add the net carbon emissions for construction, maintenance, and transportation of the lawnmower, which are non-trivial.
I strongly suspect the goats are a net win.