How do I code a 2D array in UE 4.8?

If it doesn’t need to be dynamic you can just use a base C++ array, which I think would be good enough for tetris:

int MyArray[WidthX][WidthY];

or look here for dynamic arrays: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums.
Lower down on the page you have an example using an array of struct to do multi-dimensional arrays.