GPS and GSM interface for remote TCp server

I cannot integrate both the codes for ardunio.

Both of the one code you posted?

Not sure what are all the libraries I need to refer.

For what purpose?

Do I need to include SIM900A.h at arduino sketch.

Most likely.

It does not appear that you have any requirements. Start by making a DETAILED list of what the program is actually supposed to do, with as much detail as possible.