Two habitual offenders arrested, gold and cash worth ₹40 lakh recovered