2012 vw tdi jetta premium

The display says no key the key will unlock and lock car but when it starts it turns right off what would this be