'Keep' in this case means to continue or stay in some condition.
Keep well = stay in good health.
Keep doing that = Continue to do that, do not stop doing it.
"Keep healthy" = Stay healthy, remain in good health.
In the other sense:
"We are not there yet. We have to keep driving." = We have to drive some more. We cannot stop completely.