Quite simple:
Ask anyone of the two(let's say A):
Which way is the one to the Honest Country that he(B) would say?
If A is a lier, then B is honest. Then A will know that B will point out the right way. So, he will answer the question with a lie and point the wrong way.
If A is honest, then B is a lier. Then A will know that B will point out the wrong way. To tell the truth, A will say that the way B points out is not correct.
The tip to this question is that the question presented here combined the characteristics of 2 people. So, regardless the person you are asking, you will always get a answer opposites to the way to Honest Country.
Make sense?