The structure of ice is shown below.
https://c1.staticflickr.com/1/696/32186695436_dafe8cc6b6_o.png
In ice (at 0°C or below), each O atom is surrounded tetrahedrally by four H atoms, two by covalent bonds and two by hydrogen bonds. The structure is rather “open”. When ice melts at 0°C, water keeps only part of the “open” structure. Therefore, ice has a greater volume than an equal mass of water at 0°C. In other words, ice expands on freezing.