Velocity field and physical conditions in the active lenticular galaxy NGC 3998