I'd suggest gradually cutting down to none. Apparently the alertness and general cognitive enhancing properties of caffeine don't really exist and all that people are noticing is the effect of the caffeine on their caffeine withdrawal symptoms.
No they aren't.
http://aje.oxfordjournals.org/content/156/9/842.short
http://www.ncbi.nlm.nih.gov/pubmed/20182035
These are just two of the first studies I found. There are plenty of others.
if you do not over-do it, there is a 90% chance of feeling more alert when you drink coffee.
90% of statistics are made up on the spot. If you're going to acuse me of making shit up on the spot maybe you shouldn't do it yourself? Feeling is the operative word in your statement.
No, what we know about benefits of caffeine is quite weak.
http://www.evidentlycochrane.net/caffeine-and-health-evidenc...
There are probably a number of causes, but coffee may be one of them. Don't be radical, but if you're having too much coffee, I'd suggest cutting down to just one coffee in the morning. It will take a bit of effort but may help you concentrate.
Then I suggest you try to focus on finishing things as the main goal. You have to get rid of the addiction to the rush of novelty, but you can get addicted to the rush of publishing, with obviously positive results. In order to do this, lower the bar enormously. Take only TINY projects: writing a short article or even a tweet. Writing a tiny piece of software that does something. Cleaning up one corner of your disk. It is key that you accept average or even poor quality, that shouldn't be a consideration. And it is very, very helpful that you publish the result: post the essay on Twitter, Facebook, or a blog. Upload the code to github and share it. Obviously, cleaning up your disk drive isn't so amenable to be published, so maybe you want to write a line in an "achieved.txt" file.
Make sure we are talking really small projects here, and that we are not expecting anything from them but completing them. They will be small and mediocre. No problem at all! You can't solve everything at the same time. Make things small enough that their scope fall under your current reach, which you said is tiny - so make tiny thing! Err on the side of caution. You want to make sure you complete them. Half-an-hour projects are perfectly fine here!!
Do this for a week and recap.