Casually approach him and strike up a small conversation. Remember, shy people are just like everyone else except with a wall, like I said; they won't run away if you make quick movements. Small conversation is usually rather impersonal and can consist of: the homework, weather, teachers, something on the news, or otherwise. If he really likes you, he won't be able to stop thinking about you.