Role of Interfaces in Two-Dimensional Photocatalyst for Water Splitting