Doubt in Hash Map Structure while using graph

Corresponding to a key in hashmap, can we have two values(In a problem I was thinking of placing two hashmaps in the value corresponding to a key . Will it be correct?)

No you cannot have two values for one key. A workaround for this is store a list for each key. A list of values