Bacteria in rumen play pivotal roles in the digestion of nutrients to support energy for the host. In this study, metagenomic deep sequencing of bacterial metagenome extracted from the goats’ rumen generated 48.66 GB of data with 3,411,867 contigs and 5,367,270 genes. The genes were mainly functionally annotated by Kyoto Encyclopedia of Genes and Genomes (KEGG) Carbohydrate-Active enZYmes (CAZy), and HMMER database, and taxonomically classified by MEGAN. As a result, 65,554 genes encoding for 30 enzymes/proteins related to lignocellulose conversion were exploited, in which nine enzymes were seen for the first time in goat rumen. Prevotella was the most abundant genus, contributing 30% hemicellulases and 36% enzymes/proteins for lignocellulose pretreatment, and supporting 98.8% of feruloyl esterases and 71.7% acetylxylan esterases. In addition, 18 of the 22 most lignocellulose digesting- potential contigs belonged to Prevotella. Besides, Prevotella possessed many genes coding for amylolytic enzymes. One gene encoding for endoxylanase was successfully expressed in E. coli. The recombinant enzyme had high Vmax, was tolerant to some salts and detergents, worked better at pH 5.5–6.5, temperature 40–50 °C, and was capable to be used in practices. Based on these findings, we confirm that Prevotella plays a pivotal role for hemicellulose digestion and significantly participates in starch, cellulose, hemicellulose, and pectin digestion in the goat rumen.