Hm you probably don't want to fail the exams, right? If there's nothing better around, take that as a basic motivation (usually works for me). I don't know if you're already doing all of this, or something else that works for you, but here's my strategy:
Make a plan of when you're going to study which topic, so that you'll at least notice when you're lagging behind.
Go to a public place like a library. You'll be surrounded by lots of people who are actually working, so you might feel bad for being lazy, and there are fewer distractions. Unless you really need it, don't bring a laptop. The internet is your enemy (mine at least).
Choose a specific time for going to the library and don't let yourself wiggle out of it. Once you're sitting there and know that you won't allow yourself to leave before, say, three hours have passed, you're bound to start working at some point.
Maybe find a study group so that you can motivate each other. If it's really bad, tell someone exactly what you are planning to study on a specific day and have them check on you.
And then, you might need to give yourself a decent butt kick every once in a while
If I don't do that, I can sometimes even end up sitting in the library staring at a wall.
Edit: Oh wait, I don't even know if you're at school or at uni. Hmm I hope it helps a little in any case...