Two men are facing charges after MBTA Transit Police detectives allegedly saw them engage in a drug deal while riding an inbound Red Line train near South Station Thursday afternoon. Anthony Cogliano, 40, of Everett, is facing charges of distributing drugs and drug possession. John Burgoon, 25, of Dorchester, is facing charges of drug possession. Burgoon pleaded not guilty in Boston Municipal Court and was released on personal recognizance. He is scheduled to return for a pretrial hearing on Feb. 24. Cogliano is also expected to be arraigned in Boston Municipal Court.Catalina Gaitan can be reached at firstname.lastname@example.org. Follow her on Twitter at @catalina_gaitan.