I would give them a message on WhatsApp (or your app of choice) - and handle the situation like this:
Hey [name of friend], what's going on? It's been a while! Do you have time to grab lunch or coffee? I would like to catch up with you!
But of course, this all depends on your past relationship with the person you want to reconnect with.