Two drug dealers have been jailed for 12 years after leaving a bag containing ketamine on a train and reporting it missing.