It's a very common and polite greeting in Māori culture.
Here's a breakdown of the phrase:
* Kei te: Means "is" or "are"
* Pehea: Means "how"
* Koe: Means "you"
So, literally, it translates to "How is you?" but it's best understood as simply "How are you?"