This question doesn’t have a brief answer. Please click on the detailed answer.
There are a few points that need to be made regarding this subject:
1- It is mustahabb when doing the qunut in the prayer, to put the hands together the palms of the hands being towards the sky, adjacent to the face, with all the fingers except for the thumbs stuck together and to look at the palms of the hands.
2- Imam Sadiq (as) has said: “The way to raise the hands when doing dua is to face the palms towards the sky and to do dua, this is [the sign of] inclination [towards Allah (swt) or dua], or to move the pointing finger (of the right hand) to the left and right, this is [the sign of] imploration, or to raise the hands in front of the face (so that the tips of the fingers are pointing towards the sky) this is [the sign of] ibtihal and tabattul (in which one closes his eyes to the world and only pays attention to Allah (swt)).” He also said: “When doing dua, one’s ibtihal should be at its highest and try to have your tears come and roll onto your face. It is also good for one who is doing dua to have wudu and be facing the qiblah, and one of the other good things one can do when doing dua is to do it in holy and sacred places (like the shrines of the imams and masjids) and holy times, like during the night of and day of Jum’ah (Friday), the day of Arafah, throughout the holy month of Ramadan and before dawn and when it rains.
Of course, do remember that all of what was mentioned above are the mustahabb acts of doing dua and none are wajib, therefore not observing any of them will not be a problem (for instance, if you don’t raise your hands at all, it is still okay, the same goes for looking at the hands). Therefore, looking up to the sky is totally okay.