Found the following on the Desiring God website, where they interviewed Tim Keller. I thought it was helpful so I’m sharing!
“Last December on Twitter you were asked, “Why do you think young Christian adults struggle most deeply with God as a personal reality in their lives?” You replied, “Noise and distraction. It is easier to Tweet than pray!” Sadly true. And we are fickle people. For all the many benefits of digital technology, we are tempted to get distracted from prayer by tweets and our Facebook feeds and texts and emails on our phone. In a sense, we want to be distracted! You’ve already identified this as a problem earlier. So what counsel would you give to a Christian who finds himself or herself lured to distractions when they are trying to pray?
I may have just answered the question. I mean, there is no way around just simply saying: This is something that I must spend time doing.
In the book, I tell the story of how my wife used an illustration on me: If the doctor said you have a fatal condition, and unless you take this medicine every night from 11:00 to 11:15, and swallow these pills, you will be dead by morning. If that was the case, she said, you would never miss. You would never say, I was too tired, or, I didn’t get to it, or, I was watching a movie, and I didn’t leave time. You never would do that.
And so when people ask: How am I going to get to prayer? How am I going to deal with [distractions]? I say, maybe you don’t believe you need prayer. And that is a theological, spiritual problem, and there is nothing I can do except tell you to get your heart and your mind straight on that.
Having said that, once you determine you must do it, inside your prayer time, it is hard sometimes to keep from being distracted. That is where meditation helps. Martin Luther said that if you warm your heart through meditation on the Scriptures, so that your heart starts to really warm up, you go into prayer because you want to pray, because you want to praise him for what you see, andyou want to confess your sins.
Meditation on a passage of Scripture keeps me from being distracted in prayer. You say: Okay, what does it mean to me? How do I praise God for this? How do Iconfess for this? How do I petition for this? Meditation warms the heart and absorbs the mind so I am not as distracted.
So the answer is twofold. You must decide prayer is something you must do, and there is nothing I can do to help you with that. But once you are inside, meditation keeps your mind from wandering.”