Two enter guilty pleas in court