Electronic dynamics and quantum path control using H2 molecule in three-color laser fields