Well it really depends on situation, stack size, reads on your villains and so on...
In general, i think it's a great hand for HU situation, as we very rarely have a spot, where we meet another bigger pair. And against non-pair we are slightly a favorite with 22.
It's also a great hand for limping in multi-way pot from middle-late position at early stages of the tournament too. I mean there are chances 1 to 7 to hit third 2 on a flop, if i remember right. So this hand has huge implied
odds eventually on post flop. But be careful playing that hand on paired board! Although it can be looking as we are most times ahead (which is likely truth against 1 or 2 villains on small cards flop), but the problem of deuces, it can turn to dead hand easily, when another pair comes on later streets.
For example imagine, that we have a flop like 335 and our villains have AK and QJ. So at the flop we are beating them with two pairs obviously, but there can come another 5 on later streets or let say 7 on turn and 7 on river. And our deuces are dead. AK wins with higher two pairs. So we are actually in a situation, either hit a set or give up on flop.