i'd go after the moss first, then apply the lime. the moss killer will take care of what's already growing, and once it's dead you can rake it out and give the lawn a chance to recover. lime is more of a long-term soil amendment, so it won't instantly get rid of existing moss.
that said, moss is usually a symptom of another issue too often shade, poor drainage, compacted soil, or consistently damp conditions. even if the lime helps with soil ph, the moss may come back if the underlying conditions don't change.
i've had decent results killing the moss first, cleaning it out, then liming and overseeding any bare spots afterward. that seemed to give the grass a better chance to fill in before the moss returned.