DTE Energy Co. said it has agreed to purchase two natural gas gathering systems in Pennsylvania and West Virginia for a combined $1.3 billion, adding to its midstream portfolio and expanding its presence into the southwest Marcellus and Utica shales.