There's no rules for choosing between 二 and 两, but more of the regional customary expression, although 两 is used more frequently orally to my intuition.