An Ordinary Rank-Two Case of Local-Global Compatibility for Automorphic Representations