The best way is to send him a friendly email saying how you are doing and that you just want to see what he's been up to. Be cordial and treat him as a friend.
If you want to renew the relationship, be up-front about it and tell him. If you just want to be friends, you can send messages online about day-to-day things, just like you would any friend.