The government is urged not to abandon talks to let the UK take part in a €100bn EU research programme.