The vrt way is the better way, but as an answer to what you asked:
From the gdalwarp manual page http://www.gdal.org/gdalwarp.html you can read the last two parameters srcfile* dstfile
and from the parameter exlanations:
srcfile:
The source file name(s). dstfile:
The destination file name.
So, the syntax is
gdalwarp -of GTiff -s_srs epsg:4326 -t_srs epsg:3857 input_1.tif
input_2.tif input_3.tif output.tif
If you want just a mosaic in the source projection and into GeoTIFF format which is the default use can do it with a short command
gdalwarp input_1.tif input_2.tif input_3.tif output.tif