The loading is applied by "body forces" using the GROUp loading which requires a magnitude and a proportional load for each direction. In the vertical direction you will apply the self weight to load the columns, in a horizontal direction you apply the El Centro body loading -- you probably need a mass density for the material also.
The loading is done in two stages:
(a) Self weight is done as a static loading at time zero, the proportional load is a constant (type 1 loading can do this). If the element is non-linear you need to do a static Newton solution.
(b) EQ loading. The problem is transient, you need to use a time integration method. NEWMark is a good choice, the proportional load is a type 2 and is the ElCentro record given by a time and value. You will do a transient solution over the range of interest.
Be sure to check that all the data fits together correctly, so that the EQ laoding is a - M a_g value where "M" is the beam mass and "a_g" the EQ accelerations. Always good to check on a smaller problem than you wish to analyze.