I have just had the same problem occur with my washer.
I found that the hot would work but the cold would not.
The fault is the cold water valve.
This is the part that the hose screws to at the back of the machine.
To have a look at it unscrew the top of the controls at the back and you will
find the valve.
Follow this link for the part.