As per my belief, when we pray we need to connect with God. We need complete peace of mind and no other thought should come to your mind while communicating with God. If we keep our eyes open, so many things we will see and so many things will come to our mind. These things will distract us from concentrating on the God. So to avoid such things we close our eyes.