Robbery bid of Rs 20 earns years of jail term for two